package cn.sunlelin.educationserver.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Identitytype {
    private Integer identitytypeId;
    private String identitytypeName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS", timezone = "Asia/Shanghai")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS", timezone = "Asia/Shanghai")
    private Date updateTime;
    private String delFlag;

    public Identitytype() {
    }

    public Identitytype(Integer identitytypeId, String identitytypeName, Date createTime, Date updateTime, String delFlag) {
        this.identitytypeId = identitytypeId;
        this.identitytypeName = identitytypeName;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.delFlag = delFlag;
    }

    public Integer getIdentitytypeId() {
        return identitytypeId;
    }

    public void setIdentitytypeId(Integer identitytypeId) {
        this.identitytypeId = identitytypeId;
    }

    public String getIdentitytypeName() {
        return identitytypeName;
    }

    public void setIdentitytypeName(String identitytypeName) {
        this.identitytypeName = identitytypeName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "Identitytype{" +
                "identitytypeId=" + identitytypeId +
                ", identitytypeName='" + identitytypeName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
